<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="layui/css/layui.css">
    <title>Title</title>
</head>
<body>
<script src="layui/layui.js"></script>
<script>
    layui.use(['jquery','layer', 'form','element'], function(){
        var layer = layui.layer,
            element=layui.element,
            form = layui.form,
            $=layui.jquery;})
</script>
</body>
</html>